package com.hr.service;/*
    Created with IntelliJ IDEA.
    @author: wang sir
    Date: 2021/7/19
    Time: 11:15
    To change this template use File | Settings | File Templates.
    Description: 
 */

import com.hr.entity.Comments;

import java.util.List;

public interface CommentsService {
    /*
    * 查询指定新闻的评论*/

    List<Comments> queryAllCommentsByNid(Long nid);

    /*
    * 发布评论
    * */

    Comments publishComments(Comments comments);
}
